/*
 * @Author: delin66
 * @Date: 2024-12-10 13:33:35
 * @LastEditors: delin66
 * @LastEditTime: 2024-12-10 13:38:13
 * @Descripttion: 
 */
import request from "@/utils/request";

//获取企业合作列表
export function getCooperateList(params) {
  return request({
    url: "/kjy/industry-academia-collaboration/list",
    method: "get",
    params: params,
  });
}

//新增合作企业
export function addInfo(data) {
  return request({
    url: "/kjy/industry-academia-collaboration",
    method: "post",
    data: data
  });
}
//修改合作企业信息
export function updateInfo(data) {
  return request({
    url: "/kjy/industry-academia-collaboration",
    method: "put",
    data: data
  });
}
//删除合作企业
export function delInfo(id) {
  return request({
    url: "/kjy/industry-academia-collaboration/" + id,
    method: "delete"
  });
}

//获取合作方式类型(横向)
export function getCooperateType() {
  return request({
    url: "/system/dict/data/type/sys_cooperate_level",
    method: "get"
  });
}
//获取合作方式类型(纵向)
export function getCooperateType2() {
  return request({
    url: "/system/dict/data/type/sys_cooperate_type",
    method: "get"
  });
}